using UnityEngine;
using System.Collections;

public class GameManager : MonoBehaviour {
	
	//length of the game in seconds
	private float gameLength = 120;
	
	//the time the game has been running
	private float gameTimeRemaining;
	public float GameTimeRemaining{
		get {return gameTimeRemaining;}
	}
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		gameTimeRemaining = gameLength - Time.timeSinceLevelLoad;
	}
}
